<template>
    <div>
        <van-search v-model="value" shape="round" background="rgb(158, 8, 8)" placeholder="请输入搜索关键词" @search="$router.push('/search')"/>
    </div>
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'

const router = useRouter()

</script>

<style lang="scss" scoped></style>